nfs-kernel-server: disable kerberos and ldap
authorJohn Audia <[email protected]>
Sat, 25 Oct 2025 12:02:47 +0000 (08:02 -0400)
committerHannu Nyman <[email protected]>
Sat, 25 Oct 2025 12:46:34 +0000 (15:46 +0300)
Some targets are failing due likely to build order issues suggested by
Daniel[1] so disable these two options for the v4 package.

Example:
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/nfs-utils-2.8.4'
Package nfs-kernel-server-v4 is missing dependencies for the following libraries:
libgssapi_krb5.so.2
libldap.so.2

1. https://github.com/openwrt/packages/pull/27150#issuecomment-3446589119

Signed-off-by: John Audia <[email protected]>
net/nfs-kernel-server/Makefile

index e971ddc84a65496841f41486bcee62787b3795b1..8e273b95fa29ccecba14ebfd5769c474783f0d81 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nfs-kernel-server
 PKG_VERSION:=2.8.4
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_HASH:=11c4cc598a434d7d340bad3e072a373ba1dcc2c49f855d44b202222b78ecdbf5
 
 PKG_SOURCE:=nfs-utils-$(PKG_VERSION).tar.xz
@@ -140,6 +140,8 @@ ifeq ($(BUILD_VARIANT),v4)
        CONFIGURE_ARGS += \
        --enable-nfsdcld \
        --enable-nfsv4server \
+       --disable-ldap \
+       --disable-gss \
        --enable-nfsv4 \
        --enable-nfsv41 \
        --enable-nfsv42
@@ -162,6 +164,7 @@ HOST_CFLAGS += -Dlinux \
 
 HOST_CONFIGURE_ARGS += \
        --disable-gss \
+       --disable-ldap \
        --disable-nfsrahead \
        --disable-nfsdctl \
        --without-tcp-wrappers \